//
//  CommentCell.m
//  xxShare
//
//  Created by 柳麟喆 on 2018/3/30.
//  Copyright © 2018年 lzLiu. All rights reserved.
//

#import "CommentCell.h"

@implementation CommentCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

- (void)setModel:(CommentModel *)model{
    _model = model;
    _time.text = model.time;
    _comment.text = model.comment;
    _name.text = model.name;
    _avator.image = [UIImage imageNamed:model.avator];
}

@end
